package net.rock.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "net.rock.eshop")
public class BookConfig {
    public static final String workDir = System.getProperty("user.dir") + "/";
    private String uploadPath;  // 上传文件的存放路径
    private String imgPath;  // 网页图片资源的相对路径
}
